
vim.opt.termguicolors = true

require("bufferline").setup {
    options = {
        -- 使用 nvim 内置lsp
--        diagnostics = "nvim_lsp",
        -- 左侧让出 nvim-tree 的位置
        offsets = {{
            filetype = "NvimTree",
            text = "File Explorer",
            highlight = "Directory",
            text_align = "left"
        }},
        tab_size = 18,
        numbers = 'buffer_id',
        separator_style = 'thin',
        show_buffer_icons = true,
        show_buffer_close_icons = true,
        show_close_icon = true,
        enforce_regular_tabs = false,
        always_show_bufferline = true,
        sort_by = 'id',
        show_tab_indicators = true
    }
}
